#ifndef BASEROUTER_INC
#define BASEROUTER_INC

class Stream;
namespace Network {

class BaseRouter
{
public:
	BaseRouter();
	~BaseRouter();

public:
	virtual void onConnected(UInt32) {}
	virtual void onDisConnected(UInt32) {}

public:
	void sendCatalog(Stream&);
	void sendDB(Stream&);
	void sendGate(Stream&);
	void sendLogic(Stream&);

private:
	UInt32	_curIdx;
};

}

#endif